<template>
    <div>
        <div>我是msg</div>
        <div>我的名字是:{{ msgName }}</div>
        <div>我的年龄:{{ age }}岁</div>
        <div>我的身高:{{ height }} cm</div>
    </div>
</template>

<script>
export default {
    data() {
        return {
            msgName: null,
            age: null,
            height: null
        };
    },
    mounted() {
        this.msgName = this.$route.query.name;
        this.age = this.$route.query.age;
        this.height = this.$route.query.height;
    }
};
</script>

<style></style>
